html{height: 100%;}
body{box-sizing: border-box;height: 100%;margin: 0;padding: 0;background: #f2f2f2;}
.ui-widget{font-family: Microsoft YaHei, Arial, sans-serif!important;font-size: 14px;}
.txtc{text-align: center;}
.txtr{text-align: right;}
.txtl{text-align: left;}
/*文字多余的省略*/
.txt-elps{white-space: nowrap;text-overflow: ellipsis;overflow:hidden;}
.ui-dialog-content iframe{width:100%!important;height:100%!important;}

.myInfoGrid.ui-panelgrid{width:100%;}
.myInfoGrid.ui-panelgrid .ui-panelgrid-content{border:none;}
.myInfoGrid.ui-panelgrid .ui-panelgrid-cell{border:0px solid #d5d5d5;padding: 12px 10px;}
.myInfoGrid.ui-panelgrid .ui-panelgrid-cell.cl2 .in{box-sizing: border-box;display: block;width: 100%;}
.myInfoGrid.ui-panelgrid .ui-panelgrid-cell.cl2 .ui-inputnumber.in .ui-inputtext{box-sizing: border-box;width: 100%;}

.img-link{display: inline-block;position: relative;background-color: #f2f2f2;text-decoration: none;outline: none;border: 1px dashed #d2d2d2;}
.img-link:before{content: "点击上传";position: absolute;color: #C4C3C3;font-size: 16px;top:50%;left: 50%;margin-top: -10px;margin-left: -32px;}
.img-link>img{display: none;}
.img-link.on{border: none;background-color: transparent;}
.img-link.on:before{display: none;}
.img-link.on>img{display: inline;}

.rowEdit .ui-cell-editor-input>*{box-sizing: border-box;width: 100%;}

.float-menu-ctn{position: fixed;display: inline-block;top: 4px;right: 4px;}
.float-menu-btn{font-size: 20px;}
.ui-panel+.ui-panel{margin-top: 8px;}

.apiBtnGp button{margin-right: 10px;}

.ui-dialog .ui-dialog-titlebar{margin-top: 5px;}
button.ui-button .ui-icon.fa{font-weight: normal;}

/*无背景边框的按钮*/
.tpbtn.ui-button.ui-state-default{ border:none;background: none;box-shadow: none;}
button.tpbtn.ui-button.ui-state-default{color:#222;}
.blue button.tpbtn.ui-button.ui-state-default{color:blue;}
.tpbtn.ui-button .ui-icon{background-image: url("../javax.faces.resource/images/ui-icons_222222_256x240.png.xhtml?ln=primefaces-omega");}
.ui-state-highlight .tpbtn.ui-button .ui-icon{color:#fff;background-image: url("../javax.faces.resource/images/ui-icons_ffffff_256x240.png.xhtml?ln=primefaces-omega");}
.tpbtn .ui-c{border:none;border-radius: 0;}
/*.tpbtn .fa-fw{height: 1.28571429em;}*/
.tpbtn.ui-selectbooleanbutton.ui-button.ui-state-active{color:#2399e5;}
.tpbtn.ui-button-text-icon-left .ui-button-text{padding: .3em .3em .3em 1.3em;}
.tpbtn.ui-button-text-icon-left .ui-button-icon-left{left: .1em;}
.tpbtn.ui-button-icon-only{width:auto;margin-right: 0;}
.tpbtn.ui-button-icon-only .ui-icon{width: 1em;height: 1em;font-weight: normal;position: static;}
.tpbtn.ui-button-icon-only .ui-button-text{display: none;}
.tpbtn.ui-button-icon-only .ui-icon.fa{margin: 0;}

.ui-widget-content a.colorLink{color:#00B2EE;padding: 0 10px;}

.myexpand.ui-expanded-row-content{background-color: #FFFFE0;}
.myexpand.ui-expanded-row-content>td{padding: 30px;}

/*图片加载中动画*/
.loading-logo {position: absolute;top: 50%;left:50%;margin-top: -.5em;margin-left: -.5em;font-size: 50px;width: 1em;height: 1em;border-radius: 50%;box-shadow: inset 0 0 0 .1em rgba(58, 168, 237, .2);}
.loading-logo i {position: absolute;clip: rect(0, 1em, 1em, .5em);width: 1em;height: 1em;animation: spinner-circle-clipper 1s ease-in-out infinite;}
@keyframes spinner-circle-clipper {0% {transform: rotate(0deg);} 100% {transform: rotate(180deg);}}
.loading-logo i:after {position: absolute;clip: rect(0, 1em, 1em, .5em);width: 1em;height: 1em;content: '';animation: spinner-circle 1s ease-in-out infinite;border-radius: 50%;box-shadow: inset 0 0 0 .1em #3aa8ed;}
@keyframes spinner-circle {0% {transform: rotate(-180deg);} 100% {transform: rotate(180deg);}}

.noborder>.ui-datalist-content{border:none;}

.top-banner{padding: 0 0 16px 0;}

.ui-link .ui-widget-content{color:#2DB7F5;}
.space.ui-separator{border: none;background: none;margin: 0;}

.alipic{display: inline-block;width: 60px;height: 60px;line-height: 60px;}
.alipic img{max-width: 100%;max-height: 100%;vertical-align: middle;}

/*错误页面链接样式*/
.error-title{display: inline-block;color: #ef5350;margin-right: 16px;font-size: 2em;font-weight: bold;}
.error-link{text-decoration: none;outline: none;color: #2DB7F5;}
.break{word-break: break-all;}
.ex-info{color:#999;}

.icon-menu-ctn{width: 25%;text-align: center;display: inline-block;padding: 10px 0;}
.icon-menu a{vertical-align: top;}
.icon-menu img{width: 80px;height: 80px;}
.icon-menu .txt{display: block;font-weight: bold;}
@media screen and (max-width: 415px) {.icon-menu-ctn{width: 50%;}}

.ui-growl-message p{word-break: break-all;}
.col-gray{color:#888;}
.desc{display: block;color:#888;font-style:normal;}
.ui-selectcheckboxmenu label.ui-selectcheckboxmenu-label{padding-top: 4px; padding-bottom: 4px;}

.ui-widget-content .ui-datatable th.ui-state-default{font-weight:bold;}
.ui-widget-content .ui-datatable th.ui-state-default .desc{font-weight: normal;}

/*弹出编辑用窗口布局*/
.col-dlg .col1{text-align: right;width:160px;}
.col-dlg .col2{text-align: left;width: 100%;}
.col-dlg .col2>*{width:100%;box-sizing: border-box;}
.red-price{font-size: 1.5em;color: #f10214;}
.red{color: #f10214;}
.mygrid.ui-panelgrid>.ui-panelgrid-content.ui-widget-content{border:none;}

/*展示datatable格子内容过长用省略号代替*/
.ctt-dt .ui-datatable-data td.elps{text-overflow:ellipsis;}
.ctt-dt .ui-datatable-data td.wrap{}
/*红色提示内容*/
.red,.notice,.help{color: #f10214;}
.notice{display: block;font-size: .8em;}
/*无效行*/
.noAct{color: #D17C30;}
.ui-datatable .ui-row-editing .ui-cell-editor .ui-cell-editor-input{padding: 5px;}
.help{cursor: pointer;}
.ui-column-customfilter .ui-selectonebutton .ui-button-text-only .ui-button-text{padding: .3em .5em;}

/*确认框*/
.cfmDlg.ui-dialog .ui-dialog-buttonpane{padding: 0;}
.cfmDlg.ui-dialog .ui-dialog-buttonpane button{margin: 0;width: 50%;height: 100%;font-size: 24px;border-radius: 0;}